package com.funmi.lizip.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.funmi.lizip.entity.PatrolTrack;
import com.baomidou.mybatisplus.extension.service.IService;
import com.funmi.lizip.entity.dto.patrolTrack.PatrolTrackQueryRequest;
import com.funmi.lizip.entity.dto.photo.PhotoSQueryRequest;
import com.funmi.lizip.entity.vo.*;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yeyg
 * @since 2022-11-03
 */
public interface PatrolTrackService extends IService<PatrolTrack> {

    Page<AttendanceVo> getDetailed(PatrolTrackQueryRequest request);

    PatrolTrack getByRangerId(Integer id);

    List<PatrolTrackByIdVo> getStatistics(int id);

    boolean savePatrolTrack(HashMap<String, Object> request);

    StatisticsAllVo getStatisticsAll();

    boolean insertPatrolTrack(PatrolTrack patrolTrack);

    boolean savePatrolTrack(String latitude, String longitude);

}
